
<form method="post" name="form1" action="<?php if(front::$act=='edit') $id="/id/".$data[$primary_key]; else $id=''; echo modify("/act/".front::$act."/table/".$table.$id."/bid/".front::$get['bid']);?>"  onsubmit="return checkform();">

<div class="row">
<div class="col-xs-4 col-sm-4 col-md-3 col-lg-2 text-right">选项名字</div>
<div class="col-xs-8 col-sm-7 col-md-7 col-lg-5 text-left">
{form::getform('name',$form,$field,$data,'class="form-control"')}</div>
</div>

<div class="blank30"></div>
<div class="line"></div>
<div class="blank30"></div>

<input type="submit" name="submit" value="提交" class="btn btn-primary"/>
</form>